<%@ taglib prefix="s" uri="/struts-tags"%>
 
<html>
<head>
<title>Update Author</title>
</head>
<body>
 
<p>Update Author</p>
 
<s:form name="updateForm" method="post" action="saveUpdateAuthor">
 
	<s:textfield name="firstName" label="first Name" />
	<s:textfield name="lastName" label="last Name" />
 	<s:textfield name="blog" label="blog" />
	<s:select list="availableBooks"  listKey="id"  listValue="title" name="listbooks"  label="Books" multiple="true"  value="%{books.{id}}" />
	<s:hidden name="codeAuthors" value="%{codeAuthors}" />
	<s:submit type="button" name="updateForm" />
 
</s:form>
 
</body>
</html>
